﻿//-----------------------------------------------------------------------
// <copyright file="SA1005.cs" company="c0x3y">
//     Copyright (c) c0x3y. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace c0x3y.StyleCopFixer.Errors
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using EnvDTE80;

    public static class SA1005
    {
        public static void Run(EnvDTE.DTE environment, ErrorItem selectedError)
        {
            selectedError.Navigate();
            ErrorUtilities.RegExUpdateWholeDocument(@"\/\/(\S)", "// $1", selectedError, environment);
        }
    }
}
